package com.example.d6_homework.homework07.exception;

/**
 * 自定义取钱运行时异常
 */
public class DrawMoneyException extends RuntimeException {
    // 1.必须让这个类继承自RuntimeException,才能成为一个运行时异常类

    public DrawMoneyException() {
    }

    public DrawMoneyException(String message) {
        super(message);
    }
}
